﻿using A.M.Storage.Application;
using Q.M.Finance.Application.IServices;
using Q.M.Finance.Domain.Entity;
using Q.M.Finance.Infrastruecure.IRepository;
using Q.M.Finance.Infrastruecure.Repository;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Q.M.Finance.Application.Services
{
    public class To_ticket_typeServices : BaseServices<to_ticket_type, string>, ITo_ticket_typeServices
    {
        private readonly ITo_ticket_typeRepository to_Ticket_TypeRepository;
        public To_ticket_typeServices(ITo_ticket_typeRepository to_Ticket_TypeRepository) : base(to_Ticket_TypeRepository)
        {
            this.to_Ticket_TypeRepository = to_Ticket_TypeRepository;
        }
        /// <summary>
        /// 显示到票类型表
        /// </summary>
        /// <returns></returns>
        public List<to_ticket_type> Getinvoice_type()
        {
            return to_Ticket_TypeRepository.GetShowInfor().ToList();
        }
    }
}
